package cn.tedu.ivos2.base.exception;

import cn.tedu.ivos2.base.response.StatusCode;
import lombok.Getter;

/**
 * @Author: Miyako
 * @Date: 2024-08-30-17:26
 * @Description:
 */

public class ServiceException extends RuntimeException{
    @Getter
    private StatusCode statusCode;

    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }

}
